package org.gdpu.service;

import org.gdpu.base.DAO;
import org.gdpu.model.*;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-6-5
 * Time: 下午9:05
 * To change this template use File | Settings | File Templates.
 */
public interface TestPaperService extends DAO {
    /**
     * 查找题目
     *
     * @param category 题型
     * @return
     */
    public List<Test> findTestByCategory(TestCategory category,Subject subject);

    /**
     * 查询所有试题
     *
     * @return
     */
    public List<TestPaperInfo> findAllTest();
}
